.leo__modal {
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 999;
    background-color: #00000080;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;

    > .modal__wrap {
        overflow-y: scroll;
        background-color: #fff;
        border-radius: 5px;
        min-width: 40%;
        max-width: 60%;
        max-height: 60%;

        &::-webkit-scrollbar {
            display: none;
        }

        &:global(.modal-enter) {
            opacity: 0;
            transform: translateY(20px);
        }

        &:global(.modal-enter-active) {
            opacity: 1;
            transform: translateY(0px);
            transition: all 0.3s ease;
        }

        > .header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 1.8rem;
            padding-left: 1.2rem;
            border-bottom: 1px solid #eceae7;

            > .title {
                font-size: 0.575rem;
                font-weight: bold;
            }

            > .btn {
                cursor: pointer;
                display: flex;
                align-items: center;
                justify-content: center;
                height: 100%;
                width: 1.8rem;
                border-left: 1px solid #eceae7;
                transition: background-color 0.5s ease;
                font-size: 20px;

                &:hover {
                    background-color: #eceae7;
                }
            }
        }

        > .container {
            padding: 1.2rem;
        }
    }
}
